<include file="Public:header" />
<div class="container clearfix">
    <include file="Public:sidebar" />
    <!--/sidebar-->
    <div class="main-wrap">
        <div class="crumb-wrap">
        </div>        
        <div class="result-wrap">           
            <form name="myform" id="myform" method="post">
                <div class="result-title">
                    <div class="result-list">
                        <a href="<!--{:U('Manage/add')}-->"><i class="icon-font"></i>添加子公会</a>
<!--                        <a id="batchDel" href="javascript:void(0)"><i class="icon-font"></i></a>-->
<!--                        <a id="updateOrd" href="javascript:void(0)"><i class="icon-font"></i>修改子公会</a>-->
                    </div>
                </div>
                <div class="result-content">
                    <table class="result-tab" width="100%">
                        <tr>
                            <th>子公会ID</th>
                            <th>子公会名</th>
                            <th>代理的游戏区服</th>
                            <th>操作</th>
                        </tr>
                        <?php foreach($list as $v){?>
                        <tr>
                            <td><?php echo $v['id'];?></td>
                            <td><a href="http://www.248game.com/cps.php?s=/login/refer_login/username/<?php echo $v['username'];?>/password/<?php echo $v['password'];?>"><?php echo $v['username'];?></a></td>
                            <td><?php echo $v['game'];?></td>
                            <td>
                                <a class="link-update" href="<!--{:U('manage/add',array('id'=>$v['id']),'')}-->">修改</a>&nbsp;&nbsp;|                                
                                <a href='<!--{:U("paylog/index",array("refer"=>$v["refer"]))}-->'>充值</a>&nbsp;&nbsp;|
                                <a href='<!--{:U("member/index",array("refer"=>$v["refer"]))}-->'>注册</a>
                            </td>
                        </tr>
                        <?php }?>
                    </table>
                    <div class="list-page"> 2 条 1/1 页</div>
                </div>
            </form>
        </div>
    </div>
</div>
<!--/main-->
</div>
</body>
</html>
